<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>基于CW32的电压电流表: D:/09电压电流表训练营/CW32F030C8T6_VAmeter_release/APP/Lcd_Driver.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">基于CW32的电压电流表<span id="projectnumber">&#160;V1.0.0</span>
   </div>
   <div id="projectbrief">一款物联网多功能电压电流表</div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_lcd___driver_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">Lcd_Driver.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_lcd___driver_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#ifndef LCD_DRIVER_H_</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#define LCD_DRIVER_H_</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">    #include &quot;board.h&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">    #define WHITE            0xFFFF</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">    #define BLACK            0x0000</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">    #define ORANGE           0XFD20</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">    #define BLUE             0x001F  </span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">    #define BRED             0XF81F</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">    #define GRED             0XFFE0</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">    #define GBLUE            0X07FF</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">    #define RED              0xF800</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">    #define MAGENTA          0xF81F</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">    #define GREEN            0x07E0</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">    #define CYAN             0x7FFF</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">    #define YELLOW           0xFFE0</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">    #define PURPLE           0x780F </span><span class="comment">//紫色  </span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">    #define BROWN            0XBC40 </span><span class="comment">//棕色</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">    #define BRRED            0XFC07 </span><span class="comment">//棕红色</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">    #define GRAY             0X8430 </span><span class="comment">//灰色</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">    #define DARKBLUE         0x4C1C </span><span class="comment">//深蓝色</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">    #define LIGHTBLUE        0x67A  </span><span class="comment">//浅蓝色  </span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">    #define GRAYBLUE         0X5458 </span><span class="comment">//灰蓝色</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">    #define LIGHTGREEN       0X841F </span><span class="comment">//浅绿色</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">    #define LGRAY            0XC618 </span><span class="comment">//浅灰色(PANNEL),窗体背景色</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">    #define LGRAYBLUE        0XA651 </span><span class="comment">//浅灰蓝色(中间层颜色)</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">    #define LBBLUE           0X2B12 </span><span class="comment">//浅棕蓝色(选择条目的反色)</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor">    #define LCD_CTRLA           CW_GPIOA        </span><span class="comment">//定义TFT数据端口</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">    #define LCD_CTRLC           CW_GPIOC        </span><span class="comment">//定义TFT数据端口</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="preprocessor">    #define LCD_SCL         GPIO_PIN_4  </span><span class="comment">//PA4---&gt;&gt;TFT --SCL/SCK</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor">    #define LCD_SDA         GPIO_PIN_3  </span><span class="comment">//PA3 MOSI---&gt;&gt;TFT --SDA/DIN</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">    #define LCD_CS          GPIO_PIN_0  </span><span class="comment">//PA0---&gt;&gt;TFT --CS/CE</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">    #define LCD_LED         GPIO_PIN_15  </span><span class="comment">//PC15---&gt;&gt;TFT --BL</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="preprocessor">    #define LCD_RS          GPIO_PIN_1  </span><span class="comment">//PA1---&gt;&gt;TFT --RS/DC</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="preprocessor">    #define LCD_RST         GPIO_PIN_2  </span><span class="comment">//PA2---&gt;&gt;TFT --RST</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    <span class="comment">//#define LCD_CS_SET(x) LCD_CTRL-&gt;ODR=(LCD_CTRL-&gt;ODR&amp;~LCD_CS)|(x ? LCD_CS:0)</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>    <span class="comment">//液晶控制口置1操作语句宏定义</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor">    #define LCD_SCL_SET     LCD_CTRLA-&gt;BSRR=LCD_SCL    </span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="preprocessor">    #define LCD_SDA_SET     LCD_CTRLA-&gt;BSRR=LCD_SDA   </span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="preprocessor">    #define LCD_CS_SET      LCD_CTRLA-&gt;BSRR=LCD_CS  </span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="preprocessor">    #define LCD_LED_SET     LCD_CTRLC-&gt;BSRR=LCD_LED   </span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">    #define LCD_RS_SET      LCD_CTRLA-&gt;BSRR=LCD_RS </span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="preprocessor">    #define LCD_RST_SET     LCD_CTRLA-&gt;BSRR=LCD_RST </span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    <span class="comment">//液晶控制口置0操作语句宏定义</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="preprocessor">    #define LCD_SCL_CLR     LCD_CTRLA-&gt;BRR=LCD_SCL  </span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="preprocessor">    #define LCD_SDA_CLR     LCD_CTRLA-&gt;BRR=LCD_SDA </span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="preprocessor">    #define LCD_CS_CLR      LCD_CTRLA-&gt;BRR=LCD_CS </span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>        </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="preprocessor">    #define LCD_LED_CLR     LCD_CTRLC-&gt;BRR=LCD_LED </span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="preprocessor">    #define LCD_RST_CLR     LCD_CTRLA-&gt;BRR=LCD_RST</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="preprocessor">    #define LCD_RS_CLR      LCD_CTRLA-&gt;BRR=LCD_RS </span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="preprocessor">    #define LCD_DATAOUT(x) LCD_DATA-&gt;ODR=x; </span><span class="comment">//数据输出</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="preprocessor">    #define LCD_DATAIN     LCD_DATA-&gt;IDR;   </span><span class="comment">//数据输入</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span><span class="preprocessor">    #define LCD_WR_DATA(data){\</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="preprocessor">    LCD_RS_SET;\</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="preprocessor">    LCD_CS_CLR;\</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="preprocessor">    LCD_DATAOUT(data);\</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="preprocessor">    LCD_WR_CLR;\</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="preprocessor">    LCD_WR_SET;\</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span><span class="preprocessor">    LCD_CS_SET;\</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span><span class="preprocessor">    } </span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>    </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>    <span class="comment">//竖屏</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    <span class="comment">//#define X_MAX_PIXEL           128</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>    <span class="comment">//#define Y_MAX_PIXEL           160</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>    <span class="comment">//横屏</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="preprocessor">    #define X_MAX_PIXEL         160</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="preprocessor">    #define Y_MAX_PIXEL         128</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a6758ae1e84bda7de6a13005947e33d7f">LCD_GPIO_Init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#acea692c65e452864867485aab5f5d24e">Lcd_WriteIndex</a>(uint8_t Index);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#af1d85e822acdc2331b72eda6e771c874">Lcd_WriteData</a>(uint8_t Data);</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a18162686646fbfe562be2596b342952a">Lcd_WriteReg</a>(uint8_t Index,uint8_t Data);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>    uint16_t Lcd_ReadReg(uint8_t LCD_Reg);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#aefeb059dd7c3bee9e9a82886b85a7051">Lcd_Reset</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#afed6e1aa47240d8e045853902a7efe7d">Lcd_Init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a111599a9f1825495165ff771019c8fec">Lcd_Clear</a>(uint16_t Color);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a057c5a8251788ffde52c9186d75461bc">Lcd_SetXY</a>(uint16_t x,uint16_t y);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a24aba0149e152e0ce00249d360768402">Gui_DrawPoint</a>(uint16_t x,uint16_t y,uint16_t Data);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    uint32_t <a class="code hl_function" href="_lcd___driver_8h.html#abfe1a29e583fc828cd05477d265d85be">Lcd_ReadPoint</a>(uint16_t x,uint16_t y);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a34e7c9859cbd55760570b5443405f22d">Lcd_SetRegion</a>(uint16_t x_start,uint16_t y_start,uint16_t x_end,uint16_t y_end);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#a440d57ac2de7835959002ba3c4c87f8f">LCD_WriteData_16Bit</a>(uint16_t Data);</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#add2aa33b5ad1e203cb9b976935e3c1e5">Lcd_Part_Clear</a>(uint8_t x1,uint8_t y1,uint8_t x2,uint8_t y2,uint16_t Color);</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="_lcd___driver_8h.html#ab79b8fa9ceafe767ea358f9874279140">Set_Lcd_Brightness</a>(uint8_t light);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>    <span class="keyword">extern</span> uint8_t <a class="code hl_variable" href="_lcd___driver_8h.html#a8fb1173277237709877f9448dd731a09">lcd_brightness</a>;  </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="a_lcd___driver_8h_html_a057c5a8251788ffde52c9186d75461bc"><div class="ttname"><a href="_lcd___driver_8h.html#a057c5a8251788ffde52c9186d75461bc">Lcd_SetXY</a></div><div class="ttdeci">void Lcd_SetXY(uint16_t x, uint16_t y)</div><div class="ttdoc">设置lcd显示起始点</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:300</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a111599a9f1825495165ff771019c8fec"><div class="ttname"><a href="_lcd___driver_8h.html#a111599a9f1825495165ff771019c8fec">Lcd_Clear</a></div><div class="ttdeci">void Lcd_Clear(uint16_t Color)</div><div class="ttdoc">全屏清屏函数</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:346</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a18162686646fbfe562be2596b342952a"><div class="ttname"><a href="_lcd___driver_8h.html#a18162686646fbfe562be2596b342952a">Lcd_WriteReg</a></div><div class="ttdeci">void Lcd_WriteReg(uint8_t Index, uint8_t Data)</div><div class="ttdoc">向液晶屏寄存器写数据</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:122</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a24aba0149e152e0ce00249d360768402"><div class="ttname"><a href="_lcd___driver_8h.html#a24aba0149e152e0ce00249d360768402">Gui_DrawPoint</a></div><div class="ttdeci">void Gui_DrawPoint(uint16_t x, uint16_t y, uint16_t Data)</div><div class="ttdoc">画一个点</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:314</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a34e7c9859cbd55760570b5443405f22d"><div class="ttname"><a href="_lcd___driver_8h.html#a34e7c9859cbd55760570b5443405f22d">Lcd_SetRegion</a></div><div class="ttdeci">void Lcd_SetRegion(uint16_t x_start, uint16_t y_start, uint16_t x_end, uint16_t y_end)</div><div class="ttdoc">设置lcd显示区域，在此区域写点数据自动换行</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:274</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a440d57ac2de7835959002ba3c4c87f8f"><div class="ttname"><a href="_lcd___driver_8h.html#a440d57ac2de7835959002ba3c4c87f8f">LCD_WriteData_16Bit</a></div><div class="ttdeci">void LCD_WriteData_16Bit(uint16_t Data)</div><div class="ttdoc">向SPI总线传输一个16位数据</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:106</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a6758ae1e84bda7de6a13005947e33d7f"><div class="ttname"><a href="_lcd___driver_8h.html#a6758ae1e84bda7de6a13005947e33d7f">LCD_GPIO_Init</a></div><div class="ttdeci">void LCD_GPIO_Init(void)</div><div class="ttdoc">初始化LCD屏幕的GPIO配置</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:31</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_a8fb1173277237709877f9448dd731a09"><div class="ttname"><a href="_lcd___driver_8h.html#a8fb1173277237709877f9448dd731a09">lcd_brightness</a></div><div class="ttdeci">uint8_t lcd_brightness</div><div class="ttdoc">LCD屏幕亮度</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:24</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_ab79b8fa9ceafe767ea358f9874279140"><div class="ttname"><a href="_lcd___driver_8h.html#ab79b8fa9ceafe767ea358f9874279140">Set_Lcd_Brightness</a></div><div class="ttdeci">void Set_Lcd_Brightness(uint8_t light)</div><div class="ttdoc">设置LCD屏幕的亮度</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:386</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_abfe1a29e583fc828cd05477d265d85be"><div class="ttname"><a href="_lcd___driver_8h.html#abfe1a29e583fc828cd05477d265d85be">Lcd_ReadPoint</a></div><div class="ttdeci">uint32_t Lcd_ReadPoint(uint16_t x, uint16_t y)</div><div class="ttdoc">读TFT某一点的颜色</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:329</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_acea692c65e452864867485aab5f5d24e"><div class="ttname"><a href="_lcd___driver_8h.html#acea692c65e452864867485aab5f5d24e">Lcd_WriteIndex</a></div><div class="ttdeci">void Lcd_WriteIndex(uint8_t Index)</div><div class="ttdoc">向液晶屏写一个8位指令</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:77</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_add2aa33b5ad1e203cb9b976935e3c1e5"><div class="ttname"><a href="_lcd___driver_8h.html#add2aa33b5ad1e203cb9b976935e3c1e5">Lcd_Part_Clear</a></div><div class="ttdeci">void Lcd_Part_Clear(uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint16_t Color)</div><div class="ttdoc">部分区域清屏函数</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:368</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_aefeb059dd7c3bee9e9a82886b85a7051"><div class="ttname"><a href="_lcd___driver_8h.html#aefeb059dd7c3bee9e9a82886b85a7051">Lcd_Reset</a></div><div class="ttdeci">void Lcd_Reset(void)</div><div class="ttdoc">重置LCD屏幕</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:133</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_af1d85e822acdc2331b72eda6e771c874"><div class="ttname"><a href="_lcd___driver_8h.html#af1d85e822acdc2331b72eda6e771c874">Lcd_WriteData</a></div><div class="ttdeci">void Lcd_WriteData(uint8_t Data)</div><div class="ttdoc">向液晶屏写一个8位数据</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:92</div></div>
<div class="ttc" id="a_lcd___driver_8h_html_afed6e1aa47240d8e045853902a7efe7d"><div class="ttname"><a href="_lcd___driver_8h.html#afed6e1aa47240d8e045853902a7efe7d">Lcd_Init</a></div><div class="ttdeci">void Lcd_Init(void)</div><div class="ttdoc">LCD屏幕初始化</div><div class="ttdef"><b>定义</b> Lcd_Driver.c:147</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="_lcd___driver_8h.html">Lcd_Driver.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
  </ul>
</div>
</body>
</html>
